<template>
	<view  class="choose-time flex-center" @click="chooseXQ">
			{{searchFroms.startTime}} 至 {{searchFroms.endTime}}
		</view>
		<picker-week ref="pWeek" @change="weekChange" @initFo="todayData"></picker-week>
</template>
<script>
	import
	DatePrick
	from '@/components/index.vue'
	export default {
		components: {
			DatePrick
		},
		data() {
			return {
searchFroms:{
startTime:'',
endTime:''
}

			}
		},
		methods: {
chooseXQ() {
				this.$refs.pWeek.show();
			},
			weekChange(e) {
				console.log(e);
			},
todayData（e）{
console.log(e);
},
		}
	}
</script>
<style scoped></style>
